//
//  ZXXOauthViewController.swift
//  Swift_Weibo
//
//  Created by 朱骁雄 on 16/4/11.
//  Copyright © 2016年 朱骁雄. All rights reserved.
//

import UIKit

class ZXXOauthViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        // 设置背景颜色
        view.backgroundColor = GlobalBGColor
        
        setupNavigationBar()
        
    }
    
    
    private func setupNavigationBar(){
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "填充", style: .Plain, target: self, action: Selector("autoFill"))
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "取消", style: .Plain, target: self, action: Selector("close"))
        
    }
    
    @objc private func autoFill(){
        print("autoFill")
    }
    
    @objc private func close(){
        print("close")
    }
    
}
